package com.hzncc.flowable_diboot.payment.dto;

import com.diboot.core.binding.query.BindQuery;
import com.diboot.core.binding.query.Comparison;
import com.hzncc.flowable_diboot.payment.entity.PaymentCert;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.time.LocalDate;
import java.util.List;

/**
* 回款凭证 DTO定义
*
* @author MyName
* @version 1.0
* @date 2024-10-25
 * Copyright © MyCorp
*/
@Getter
@Setter
@Accessors(chain = true)
public class PaymentCertDTO extends PaymentCert  {
    private static final long serialVersionUID = 1568800000055224281L;

    /**
    * id集合
    */
    @BindQuery(comparison = Comparison.IN, field = "id")
    private List<String> ids;

    /**
     * 创建时间 起始
     */
    @BindQuery(comparison = Comparison.GE, column = "create_time")
    private LocalDate createTimeBegin;

    /**
     * 创建时间 截止
     */
    @BindQuery(comparison = Comparison.LT, column = "create_time")
    private LocalDate createTimeEnd;
}